package Payment.Size;

import Payment.Color.IColor;

public abstract class AbstractSize {

    protected IColor color;  //桥接模式的精髓，在实现pay时要传入一个payMethod对象

    AbstractSize(IColor color){
        this.color = color;
    }
    public abstract boolean Draw(String userId);

}
